Crate hello_egui_utils
source ·Expand description
§hello_egui_utils
This crate contains helper methods and structs used all over the hello_egui project.
Macros§
- This macro generates the async fn
- This macro generates a callback based and a async version of the function
- Matches the self reference of the callback fn
- This macros makes it possible to concatenate identifiers at compile time and use them as normal. It’s an extension/replacement of
std::concat_idents
, since in comprassion to the std-solution, the idents here can be used everywhere. - This macro generates the callback fn
- This macro generates the async fn and the callback fn
Traits§
- Types that can be transferred across thread boundaries.
Functions§
- Returns the approximate current scroll delta of the ui
- Returns the size of the text in the current ui (based on the max width of the ui)
Type Aliases§
- Type of the callback function